<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title> 随机点名</title>
	</head>
	<body>
		<h1>~点名系统~</h1>
		<input type="button"  value="开始" onclick="dm()" />
		<p id='number'></p>
		<script>
			
			function dm(){
				var arr=new Array('1')
			var n=Math.random()*36+1;
			var num=parseInt(n);
			number.innerHTML=num;
			}
		</script>
	</body>
</html>
